package com.itheima.io.file.demo01;

import java.io.File;

public class FileDemo01 {

    public static void main(String[] args) {

        File file = new File("D:\\2019.7.30heima\\就业班\\2019.8.25\\hmjava359\\hmjava359-day10\\itheima-io-file\\a.txt");
        System.out.println(file);
        System.out.println("------------------");

        File file1 = new File("D:\\2019.7.30heima\\就业班\\2019.8.25\\hmjava359\\hmjava359-day10\\itheima-io-file", "b.txt");
        System.out.println(file1);
        System.out.println("-------------------");

        File file2 = new File("D:\\2019.7.30heima\\就业班\\2019.8.25\\hmjava359\\hmjava359-day10\\itheima-io-file");
        File file3 = new File(file2, "c.txt");
        System.out.println(file3);


    }
}
